import Taro from "@tarojs/taro";


export default class WXUtils {
  static setBarTitle(title){
    Taro.setNavigationBarTitle({
      title,
    })
  }

  static async getBarHeight(){
    let res = await Taro.getSystemInfo();
    const {statusBarHeight} = res;
    return statusBarHeight;
  }
}
